/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package entity.structure;

/**
 *
 * @author dell
 */
import entity.support.Obj;
import java.util.Map;
public class Protocol extends Obj
{
//columns_______________________________________________________________________
private String personid;
private String content;
//functions_____________________________________________________________________
     //operators________________________________________________________________
public Protocol()
{
     
}
public Protocol(Obj o)
{
     this.id=o.getId();
     this.name=o.getName();
     this.intime=o.getIntime();
     this.updatetime=o.getUpdatetime();
}
public Protocol(Map<String,String> map)
{
     
}
     //getter___________________________________________________________________
public String getPersonid() 
{
     return personid;
}
public String getContent()
{
     return content;
}
     //setter___________________________________________________________________
public void setPersonid(String personid) 
{
     this.personid = personid;
}
public void setContent(String content) 
{
     this.content = content;
}
     //toString_________________________________________________________________
@Override
public String toString()
{
      return super.toString()+"\t"+personid+"\t"+content;
}
}
